<?php
/**
 * Created by PhpStorm.
 * User: moquan
 * Date: 2018/6/21
 * Time: 9:23
 */

namespace app\admin\model;



use think\Model;

class BaseModel extends Model {
    // 开启时间字段自动写入
    protected $autoWriteTimestamp = 'datetime';
}